<#import "/ftl/mainAdmin.ftl" as page>

<@page.mainTemplate styleSheet="salaryPayCss" jsFile="salaryPayListJs" current="工资代发">
  	<!-- BEGIN CONTENT BODY -->
    <div class="page-content">
        <!-- BEGIN PAGE HEAD-->
        <div class="page-head">
            <!-- BEGIN PAGE TITLE -->
            <div class="page-title">
                <h1>工资代发
                    <small>工资代发数据查看</small>
                </h1>
            </div>
            <!-- END PAGE TITLE -->
        </div>
        <!-- END PAGE HEAD-->
        <!-- BEGIN PAGE BREADCRUMB -->
        <ul class="page-breadcrumb breadcrumb">
            <li>
                <a href="${context}/base/index_ftl">首页</a>
                <i class="fa fa-circle"></i>
            </li>
            <li>
                <span class="active">工资代发</span>
            </li>
        </ul>
        <!-- END PAGE BREADCRUMB -->
        <!-- BEGIN PAGE BASE CONTENT -->
        <div class="row">
            <div class="col-md-12 col-sm-12 search-form">
                <form id="paySearchForm" action="javascript:;" method="post">
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <label class="input-group-addon">年度</label>
                        <select name="year" class="form-control" placeholder="状态" >
                                <option value="" >请选择</option>
                                <option value="2015" >2015</option>
                                <option value="2016" >2016</option>
                                <option value="2017" >2017</option>
                                <option value="2018" >2018</option>
                                <option value="2019" >2019</option>
                        </select>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <label class="input-group-addon">起始月份</label>
                        <select name="begin_month" class="form-control" placeholder="状态" >
                                <option value="" >请选择</option>
                                <option value="1" >一月</option>
                                <option value="2" >二月</option>
                                <option value="3" >三月</option>
                                <option value="4" >四月</option>
                                <option value="5" >五月</option>
                                <option value="6" >六月</option>
                                <option value="7" >七月</option>
                                <option value="8" >八月</option>
                                <option value="9" >九月</option>
                                <option value="10" >十月</option>
                                <option value="11" >十一月</option>
                                <option value="12" >十二月</option>
                        </select>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <label class="input-group-addon">截至月份</label>
                        <select name="end_month" class="form-control" placeholder="状态" >
                                <option value="" >请选择</option>
                                <option value="1" >一月</option>
                                <option value="2" >二月</option>
                                <option value="3" >三月</option>
                                <option value="4" >四月</option>
                                <option value="5" >五月</option>
                                <option value="6" >六月</option>
                                <option value="7" >七月</option>
                                <option value="8" >八月</option>
                                <option value="9" >九月</option>
                                <option value="10" >十月</option>
                                <option value="11" >十一月</option>
                                <option value="12" >十二月</option>
                        </select>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <label class="input-group-addon">状态</label>
                        <select name="status_list" id="status" class="form-control" placeholder="状态" >
                                <option value="" >请选择</option>
                                <option value="PREPARED" >待发放</option>
                                <option value="INPROGRESS" >发放中</option>
                                <option value="SUCCESS" >发放成功</option>
                                <option value="SUCCESS_WITH_ERROR" >部分成功</option>
                                <option value="FAILED" >发放失败</option>
                                <option value="ABORT" >废弃</option>
                        </select>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <label class="input-group-addon">提交人</label>
                        <input name="create_user_name" class="form-control" placeholder="提交人"></input>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">所属公司</span>
                        <select class="form-control input-inline" name="company_id" >
                        </select>
                    </div>
                    <div class="search-item input-group col-md-12 col-sm-12">
                    	<div class="col-md-offset-5">
                            <a href="javascript:;" class="btn btn-success " name="search" >查询</a>
                        <a href="javascript:;" class="btn btn-default" id="payReset" name="reset">清空</a>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->
                <div class="portlet light bordered">
                    <div class="portlet-body">
                        <table class="table table-striped table-bordered table-hover" id="payList">
                            <thead>
                                <tr>
                                    <th> 单据号 </th>
                                    <th> 年度 </th>
                                    <th> 月度 </th>
                                    <th> 提交人 </th>
                                    <th> 所属公司 </th>
                                    <th> 发薪日期 </th>
                                    <th> 人数 </th>
                                    <th> 金额 </th>
                                    <th> 状态 </th>
                                </tr>
                            </thead>
                            <tbody>
                                
                            </tbody>
                        </table>
                    </div>
                </div>
                <!-- END EXAMPLE TABLE PORTLET-->
            </div>
        </div>
        <!-- END PAGE BASE CONTENT -->
    </div>
    <!-- END CONTENT BODY -->
</@page.mainTemplate>